/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package prototipodeer;

/**
 *
 * @author Rossy
 */
public class ReporteTrafico extends javax.swing.JFrame {

    /**
     * Creates new form ReporteTrafico
     */
    public ReporteTrafico() {
        initComponents();
        this.setLocationRelativeTo(null);
        this.setResizable(false);
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jRadioButton4 = new javax.swing.JRadioButton();
        jInternalFrame1 = new javax.swing.JInternalFrame();
        txtTiempoX = new javax.swing.JRadioButton();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        txtDistanciaX = new javax.swing.JRadioButton();
        txtCantidadX = new javax.swing.JRadioButton();
        txtVelocidadX = new javax.swing.JRadioButton();
        btnPDF = new javax.swing.JButton();
        btnExcel = new javax.swing.JButton();
        txtTiempoY = new javax.swing.JRadioButton();
        txtDistanciaY = new javax.swing.JRadioButton();
        txtCantidadY = new javax.swing.JRadioButton();
        txtVelocidadY = new javax.swing.JRadioButton();

        jRadioButton4.setText("Velocidad");
        jRadioButton4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButton4ActionPerformed(evt);
            }
        });

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setMaximumSize(new java.awt.Dimension(400, 345));
        setMinimumSize(new java.awt.Dimension(400, 345));

        jInternalFrame1.setTitle("REPORTE TRÁFICO");
        jInternalFrame1.setMaximumSize(new java.awt.Dimension(400, 345));
        jInternalFrame1.setMinimumSize(new java.awt.Dimension(400, 345));
        jInternalFrame1.setVisible(true);

        txtTiempoX.setText("Tiempo");
        txtTiempoX.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtTiempoXActionPerformed(evt);
            }
        });

        jLabel1.setText("Seleccionar dos criterios a evaluar:");

        jLabel2.setText("Eje X:");

        jLabel3.setText("Eje Y:");

        txtDistanciaX.setText("Distancia");

        txtCantidadX.setText("Cantidad de autos");
        txtCantidadX.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtCantidadXActionPerformed(evt);
            }
        });

        txtVelocidadX.setText("Velocidad");
        txtVelocidadX.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtVelocidadXActionPerformed(evt);
            }
        });

        btnPDF.setText("EXPORTAR A PDF");

        btnExcel.setText("EXPORTAR A EXCEL");

        txtTiempoY.setText("Tiempo");
        txtTiempoY.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtTiempoYActionPerformed(evt);
            }
        });

        txtDistanciaY.setText("Distancia");

        txtCantidadY.setText("Cantidad de autos");
        txtCantidadY.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtCantidadYActionPerformed(evt);
            }
        });

        txtVelocidadY.setText("Velocidad");
        txtVelocidadY.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtVelocidadYActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jInternalFrame1Layout = new javax.swing.GroupLayout(jInternalFrame1.getContentPane());
        jInternalFrame1.getContentPane().setLayout(jInternalFrame1Layout);
        jInternalFrame1Layout.setHorizontalGroup(
            jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jInternalFrame1Layout.createSequentialGroup()
                .addGap(31, 31, 31)
                .addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jInternalFrame1Layout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(jInternalFrame1Layout.createSequentialGroup()
                        .addComponent(jLabel2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel3)
                        .addGap(115, 115, 115))))
            .addGroup(jInternalFrame1Layout.createSequentialGroup()
                .addGap(16, 16, 16)
                .addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jInternalFrame1Layout.createSequentialGroup()
                        .addComponent(btnPDF)
                        .addGap(79, 79, 79)
                        .addComponent(btnExcel))
                    .addGroup(jInternalFrame1Layout.createSequentialGroup()
                        .addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(txtCantidadX)
                            .addComponent(txtDistanciaX)
                            .addComponent(txtTiempoX)
                            .addComponent(txtVelocidadX))
                        .addGap(99, 99, 99)
                        .addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(txtCantidadY)
                            .addComponent(txtDistanciaY)
                            .addComponent(txtTiempoY)
                            .addComponent(txtVelocidadY))))
                .addContainerGap(43, Short.MAX_VALUE))
        );
        jInternalFrame1Layout.setVerticalGroup(
            jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jInternalFrame1Layout.createSequentialGroup()
                .addGap(17, 17, 17)
                .addComponent(jLabel1)
                .addGap(19, 19, 19)
                .addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(jLabel3))
                .addGap(18, 18, 18)
                .addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jInternalFrame1Layout.createSequentialGroup()
                        .addComponent(txtTiempoX)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtDistanciaX)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtCantidadX)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtVelocidadX)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 55, Short.MAX_VALUE)
                        .addGroup(jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(btnPDF)
                            .addComponent(btnExcel))
                        .addGap(50, 50, 50))
                    .addGroup(jInternalFrame1Layout.createSequentialGroup()
                        .addComponent(txtTiempoY)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtDistanciaY)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtCantidadY)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtVelocidadY)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jInternalFrame1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jInternalFrame1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void txtTiempoXActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtTiempoXActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtTiempoXActionPerformed

    private void txtCantidadXActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtCantidadXActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtCantidadXActionPerformed

    private void jRadioButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButton4ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jRadioButton4ActionPerformed

    private void txtVelocidadXActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtVelocidadXActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtVelocidadXActionPerformed

    private void txtTiempoYActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtTiempoYActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtTiempoYActionPerformed

    private void txtCantidadYActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtCantidadYActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtCantidadYActionPerformed

    private void txtVelocidadYActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtVelocidadYActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtVelocidadYActionPerformed

   
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnExcel;
    private javax.swing.JButton btnPDF;
    private javax.swing.JInternalFrame jInternalFrame1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JRadioButton jRadioButton4;
    private javax.swing.JRadioButton txtCantidadX;
    private javax.swing.JRadioButton txtCantidadY;
    private javax.swing.JRadioButton txtDistanciaX;
    private javax.swing.JRadioButton txtDistanciaY;
    private javax.swing.JRadioButton txtTiempoX;
    private javax.swing.JRadioButton txtTiempoY;
    private javax.swing.JRadioButton txtVelocidadX;
    private javax.swing.JRadioButton txtVelocidadY;
    // End of variables declaration//GEN-END:variables
}
